<script>
import {ref} from 'vue'
</script>
<script setup>

let one=ref(1)
let tow=ref(1)
let three=ref(2)
function add(){
    three.value=parseInt(one.value)+parseInt(tow.value)
    console.log(three.value)

}
</script>

<template>
  <input type="text" v-model.number="one" v-on:input="add"/>+
  <input type="text" v-model.number="tow" v-on:input="add"/>=
  <input type="text" v-model="three" v-on:input="add"/>
</template>

<style scoped>
</style>
